import { Singleton } from "../../Singleton/Singleton";

export enum AppType {
    Server,
    Watcher, // 每台物理机一个守护进程，用来启动该物理机上的所有进程
    GameTool,
    ExcelExporter,
    Proto2CS,
    BenchmarkClient,
    BenchmarkServer,
}

export class Options extends Singleton<Options> {

    private static _Instance: Options;
    public static get Instance() {
        return this._Instance;
    }

    protected set Instance(value: Options) {
        Options._Instance = value;
    }

    public AppType: AppType;
    public StartConfig: string;
    public Process: number;
    public Develop: number;
    public LogLevel: number;
    public Console: number;
    public CreateScenes: number;

}